package com.ruoyi.bysj.mapper;

import com.ruoyi.bysj.domain.SysGroupsUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 货物配送Mapper接口
 * 
 * @author laow
 * @date 2021-10-19
 */
public interface SysGroupsUserMapper
{

    public int deleteGroupsUserByOrderId(Long groupId);

    public int deleteGroupsUser(Long[] ids);

    public List<String> selectGroupsUserByGroupId(Long groupId);
    public Long selectGroupsUserByUserName(String userName);

    public int countGroupsUserByUserName(String userName);

    public int batchGroupsUser(List<SysGroupsUser> groupsUserList);

    public int deleteGroupsUserInfo(SysGroupsUser groupsUser);

    public int deleteGroupsUserInfos(@Param("userName") String userName, @Param("groupIds") Long[] groupIds);
}
